﻿@{ Layout = null;}

@model List<FlowVersionEntity>
<div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
    <h4 class="modal-title">流程版本</h4>
</div>
<div class="modal-body">
            <form id="flow-version-dynamic-form" asp-controller="flow" asp-area="wf" asp-action="publish" method="post" class="form-horizontal" role="form">
                <input type="hidden" id="FlowId" name="FlowId" value="@ViewData["FlowId"]" />
                <div class="form-group">
                    <label for="flow-Version" class="col-md-3 control-label text-right">版本</label>
                    <div class="col-md-9  text-left">
                        <div class="input-group m-b text-left">
                            <span class="input-group-addon"></span>
                            <select name="Version" id="flow-Version" tabindex="3" class="select2" validate="{required:true}">
                                <option value="0">新版本</option>
                                @if (Model != null && Model.Count > 0)
                                {
                                    foreach (var item in Model)
                                    {
                                        <option value="@item.Version">V_@item.Version</option>
                                    }
                                }
                            </select>
                        </div>
                        <span class="text-danger field-validation-valid"></span>
                    </div>
                    <div class="form-group">
                        <label class="col-md-3 control-label text-right"></label>
                        <div class="col-md-9 text-left">
                            <div class="i-checks ">
                                <label for="isCover"> <input tabindex="15" name="isCover" id="isCover"  type="checkbox">  是否覆盖 </label>
                            </div>
                        </div>

                    </div>
                </div>
            </form>
</div>
<div class="modal-footer">

</div>
